import matplotlib.pyplot as plt


x = [0, 1, 1.5, 2, 2.5, 3, 4]
y = [1, 1, (1 + 1.732 / 2), 1, (1 - 1.732 / 2), 1, 1]


plt.plot(x, y, linewidth=0.5, color="blue")

plt.show()
